package com.aispeech.asr.apis.ssc.data.vo;

import com.aispeech.asr.apis.ssc.data.form.SscForm;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@RequiredArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SscData {
    @NonNull
    private String sessionId;
    @NonNull
    private SscForm request;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Map<String, Long> metrics;

    private List<SscRow> result;
}
